package com.redstars.generate.convert;

import com.redstars.generate.entity.SysBaseClass;
import com.redstars.generate.vo.SysBaseClassVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 基类管理
*
* @author zhouhx 
* @since 1.0.0 2022-10-05
*/
@Mapper
public interface SysBaseClassConvert {
    SysBaseClassConvert INSTANCE = Mappers.getMapper(SysBaseClassConvert.class);

    SysBaseClass convert(SysBaseClassVo vo);

    SysBaseClassVo convert(SysBaseClass entity);

    List<SysBaseClassVo> convertList(List<SysBaseClass> list);

}